<?
$page_list = $this->pages;

?>
<!--<link href="/css/main.css" type="text/css">-->
<style type="text/css">
    .adminmenu:hover {
        background-color: #D7D7D7;
        cursor: pointer;
    }

    .head {

        cursor: pointer;
    }

</style>


<div>


    <? foreach ($page_list as $page): ?>

    <div class="head" onclick="location='admin/menuedit/id/<?=$page['id']?>'">
        <h2>   <?=$page["menuPageName"]?></h2>
    </div>
    <div class="adminmenu" style="font-size: medium;" onclick="location='admin/menuedit/id/<?=$page['id']?>'">
        <?=

        strip_tags(substr($page['content'], 0, 450));?>
    </div>



    <? endforeach;?>
</div>